﻿using System.Collections;


public enum BatchType
{
    none = 0,
    add = 1,
    move = 2,
    dead =3,
    hpUpdate=4,
    skill = 5,
}

public enum BattleType
{
    home = 0,
    pve = 1,
    pve_private = 2,
    pvp = 3,

}
public enum Country
{
    qinglong = 0,
    baihu = 1,
    zhuque = 2,
    xuanwu = 3,
}
public enum HeroProfession
{
    wushi = 0,
    fashi = 1,
    shushi = 2,
    zhaohuan = 3,
    cike = 4,
    none = 5,
}
public enum HeroSex
{
    male = 0,
    female = 1,
}


public enum CharType
{
    hero = 0,
    monster = 1,
    npc = 2,
    all = 3,
}
public enum CharState
{
    STAND = 0,
    ATTACK = 1,
    DEAD = 2,
    RUN = 3,
    SKILL = 4,
    HIT = 5,
    MOVE = 6,
}
//UP起始，顺时针8方向
public enum CharDirect
{
    DIRECT_UP = 0,
    DIRECT_RIGHT_UP = 1,
    DIRECT_RIGHT = 2,
    DIRECT_RIGHT_DOWN = 3,
    DIRECT_DOWN = 4,
    DIRECT_LEFT_DOWN = 5,
    DIRECT_LEFT = 6,
    DIRECT_LEFT_UP = 7,
    NONE = 8,
}

public class Constant
{

    public static float CD_PER_DEL = 0.1f;

    

    public static int DESIGN_X = 1136;
    public static int DESIGN_Y = 852;

    public static bool CHARACTER_IS_WALL=true;//穿人
    public static int MAX_HERO_COUNT = 4;

    public static int SINGLE_ID_START = 10000;


    public static int MAP_WIDTH = 7;
    public static int MAP_HEIGHT= 17;
    //5*11的战斗范围
    //public const int DESIGN_WIDTH = 852;


    public static float factor = 1;
    public static int TILE_WIDTH = 48;//3:2
    public static int TILE_HEIGHT = 32;

    public const double EMPLOYEE_PATH_POINT_MAX = 100;

    public const int INVALIDATE = 10000000;


}
